package com.hqd.ch03.v22.aop.framework.aspectj;

import com.hqd.ch03.v22.aop.Pointcut;
import com.hqd.ch03.v22.aop.support.AbstractGenericPointcutAdvisor;

public class AspectJExpressionPointcutAdvisor extends AbstractGenericPointcutAdvisor {

    private final AspectJExpressionPointcut pointcut = new AspectJExpressionPointcut();

    public String getExpression() {
        return this.pointcut.getExpression();
    }

    public void setExpression(String expression) {
        this.pointcut.setExpression(expression);
    }

    @Override
    public Pointcut getPointcut() {
        return this.pointcut;
    }
}
